export interface ResponseType<P = Record<string, never>> {
  code: number | string;
  msg: string;
  data: P; 
  rows?: P;
  total?:number | undefined
}
export interface ResponseType2<P = any> {
  code: number;
  msg: string;
  data: P[]; 
  rows?: P;
  total?:number | undefined
}
export interface ResponseType3<P = boolean> {
  code: number;
  msg: string;
  data: P;
}